package com.campus.common.enums;

import lombok.Getter;

@Getter
public enum OnlineStatusEnum {
    OLINE((short) 1, "在线"),
    ABSENT((short) 0, "离线"),
    ;
    private Short code;
    private String desc;

    OnlineStatusEnum(Short code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
